package com.boot.core.result

data class EChartsPie(
        var series:MutableList<SeriesItem> = mutableListOf(),
        var title: Title
) {
    data class Title(
            var text: String,
            var x: String
    )

    data class SeriesItem(
            val center: List<String>,
            val `data`: List<Data>,
            val name: String,
            val radius: String = "55%",
            val type: String = "pie"
    ) {
        data class Data(
                val name: String,
                val value: Int
        )
    }
}